package com.easyj.base.exception;

import java.util.Map;

/**
 * 
 * @author hjf
 *
 */
public class ImpValidException extends Exception{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5403055881922847L;
	
	private String message;
	private Map<String,String> fieldErrorsMap;
	
	public ImpValidException(String message,Map<String,String > fieldErrorsMap){
		this.message=message;
		this.fieldErrorsMap=fieldErrorsMap;
		
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Map<String, String> getFieldErrorsMap() {
		return fieldErrorsMap;
	}

	public void setFieldErrorsMap(Map<String, String> fieldErrorsMap) {
		this.fieldErrorsMap = fieldErrorsMap;
	}

	
	
}
